Skip to content

Conversation

@robsunday
Copy link
Contributor

@robsunday robsunday commented Dec 17, 2024

Description:

This is not the full fix for flaky integration tests but it should improve their stability. More PRs will come.
Part of fix for #1605

Because some of the metrics may require some more time to be reported. Maximum metrics assertion timeout has been increased to support this scenario. This timeout increase does not impact successful tests duration because such tests end as soon as all assertions are fulfilled.

MetricsVerifier metricsVerifier = createMetricsVerifier();
await()
.atMost(Duration.ofSeconds(30))
.atMost(Duration.ofSeconds(60))
Copy link
Contributor Author

@robsunday robsunday Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] Increase maximum assertions timeout to give tested target more time to stabilize and generate all the metrics

@github-actions github-actions bot requested a review from SylvainJuge December 17, 2024 16:50
@trask trask merged commit be9aee0 into open-telemetry:main Dec 17, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants